package com.xian.relics.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 文物信息对象 t_cultural_relics
 * 
 * @author jimihua
 * @date 2025-04-01
 */
public class TCulturalRelics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 文物名称 */
    @Excel(name = "文物名称")
    private String name;

    /** 朝代ID */
    @Excel(name = "朝代ID")
    private Long dynastyId;

    /** 文物所属时期 */
    @Excel(name = "文物所属时期")
    private String period;

    /** 文物当前位置 */
    @Excel(name = "文物当前位置")
    private String location;

    /** 文物描述 */
    @Excel(name = "文物描述")
    private String description;

    /** 主图片路径 */
    @Excel(name = "主图片路径")
    private String image;

    /** 讲解音频路径 */
    @Excel(name = "讲解音频路径")
    private String audio;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDynastyId(Long dynastyId) 
    {
        this.dynastyId = dynastyId;
    }

    public Long getDynastyId() 
    {
        return dynastyId;
    }

    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setAudio(String audio) 
    {
        this.audio = audio;
    }

    public String getAudio() 
    {
        return audio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("dynastyId", getDynastyId())
            .append("period", getPeriod())
            .append("location", getLocation())
            .append("description", getDescription())
            .append("image", getImage())
            .append("audio", getAudio())
            .toString();
    }
}
